GtkDialog: Be a little more careful about button placement
authorMatthias Clasen <mclasen@redhat.com>
Fri, 6 Jun 2014 17:00:06 +0000 (13:00 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 6 Jun 2014 17:00:06 +0000 (13:00 -0400)
commit02a44c454c7ed85e9ef1c4c379cb13e9a74cde1d
treee97877854db5ff82ba01a9b31c07a983de0f8d39
parent9c6c4fdeb844310ed77104d8f4640c619c46326c
GtkDialog: Be a little more careful about button placement

We were applying response based heuristics, even if the button
is explicitly put in the headerbar. That broke button placement
in some epiphany dialogs, such as the Cookies one. Therefore,
restrict the heuristics to action widgets that are added through
gtk_widget_add_action_widget() or <child type="action">, where it
is not possible to specify placement explicitly.
gtk/gtkdialog.c